import Mock from 'mockjs'
const loginUsers = [{
        id: 1,
        user: '111',
        password: '123',
        avatar: 'http://127.0.0.1:8090/user.png',
        name: '管理员',
        userid: 1,
        userlevel: 0,
        rememberMe: true
    },
    {
        id: 2,
        user: '222',
        password: '123',
        avatar: 'http://127.0.0.1:8090/user.png',
        name: '学生2',
        userid: 2,
        userlevel: 1,
        rememberMe: true
    }
  ];

const listCourse = [{// 学生对应课程信息
  "pageNum": 1,
  "pageSize": 10,
  "size": 2,
  "startRow": 1,
  "endRow": 2,
  "total": 2,
  "pages": 1,
  "list": [
    {
      "courseId": 1,
      "examId": 3,
      "teacherId": 1,
      "scoreId": 3,
      "dissentId": 1,
      "majorId": 1,
      "examPaperId": 3,
      "courseName": "化学2",
      "courseScore": 3,
      "courseEdition": "3",
      "courseClass": "1",
      "courseOnlineTestScorce": 3,
      "courseFinalTestScorce": 3,
      "courseOnlineScorce": 3,
      "coursePlan": 3,
      "courseCreateDate": 1499788800000,
      "courseModifyPerson": "赵睿慷",
      "courseModifyDate": 1500393600000,
      "courseDelete": 1,
      "courseInfo": null,
      "teacher": {
        "teacherId": 1,
        "teacherRealname": "李四",
      }
    },
    {
      "courseId": 2,
      "examId": 1,
      "teacherId": 0,
      "scoreId": 3,
      "dissentId": 3,
      "majorId": 0,
      "examPaperId": 3,
      "courseName": "c语言1",
      "courseScore": 0,
      "courseEdition": null,
      "courseClass": null,
      "courseOnlineTestScorce": 0,
      "courseFinalTestScorce": 0,
      "courseOnlineScorce": 0,
      "coursePlan": 0,
      "courseCreateDate": 1499875200000,
      "courseModifyPerson": "赵睿慷",
      "courseModifyDate": 1500393600000,
      "courseDelete": 1,
      "courseInfo": null,
      "teacher": {
        "teacherId": 0,
        "teacherRealname": "张三",
      }
    }
  ],
  "prePage": 0,
  "nextPage": 0,
  "isFirstPage": true,
  "isLastPage": true,
  "hasPreviousPage": false,
  "hasNextPage": false,
  "navigatePages": 8,
  "navigatepageNums": [
    1
  ],
  "navigateFirstPage": 1,
  "navigateLastPage": 1,
  "firstPage": 1,
  "lastPage": 1
}]

export { loginUsers };
export { listCourse }
